﻿using UnityEngine;
using System.Collections;

public class Play : MonoBehaviour {

	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () 
	{
	
	}

	void OnMouseEnter()
	{
		gameObject.transform.localScale+= new Vector3(1,1,1);
		renderer.material.color = Color.gray;
	}

	void OnMouseExit()
	{
		gameObject.transform.localScale+= new Vector3(-1,-1,-1);
		renderer.material.color = Color.white;
	}

	void OnMouseUpAsButton()
	{
		Application.LoadLevel("GAME");
	}
}
